<div class="row border-bottom white-bg">
    <nav class="navbar navbar-static-top navbar-fixed-top">
        <div class="navbar-header">
            <a href="${basePath}/" class="navbar-brand">家居</a>
        </div>
        <div class="navbar-collapse collapse" id="navbar">
            <ul class="nav navbar-nav">
                <li class="active">
                    <a aria-expanded="false" role="button" href="${basePath}/">首页</a>
                </li>
            <#if sessionAdmin.type == 'admin'>
                <li class="active">
                    <a aria-expanded="false" role="button" href="${basePath}/user/list">用户管理</a>
                </li>

            <#else>
            <li class="active">
                <a aria-expanded="false" role="button" href="${basePath}/product/list">家居管理</a>
            </li>
            </#if>



            </ul>
            <ul class="nav navbar-top-links navbar-right">
                <li><a href="${basePath}/modify">修改密码</a></li>
                <li>

                    <a href="${basePath}/logout">退出</a>
                </li>
            </ul>
        </div>
    </nav>
</div>